<?php

/**
 * home actions.
 *
 * @package    xists
 * @subpackage home
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 12479 2008-10-31 10:54:40Z fabien $
 */
class homeActions extends sfActions
{
  public function executeMember(sfWebRequest $request)
  {
    if ($this->getUser()->isAuthenticated() && $this->getUser()->hasCredential('user')) {
		$this->redirect('@welcome');
	} else {
		$this->redirect('@login');
	}
  }

  public function executeIndex(sfWebRequest $request){}
  public function executeAbout(sfWebRequest $request){}
  public function executePlans(sfWebRequest $request){}
  public function executeFaqs(sfWebRequest $request){}
  public function executeLegal(sfWebRequest $request){}
  public function executeContact(sfWebRequest $request){}
  public function executeBizops(sfWebRequest $request){}
  public function executeForexIndia(sfWebRequest $request){}
  public function executeParticipants(sfWebRequest $request){}
  public function executeForex(sfWebRequest $request){}
  public function executePrivacy(sfWebRequest $request){}
}
